package com.xiaolin.designmode.factory.abstraction;

import com.xiaolin.designmode.factory.bean.Computer;
import com.xiaolin.designmode.factory.bean.HuaweiComputer;
import com.xiaolin.designmode.factory.bean.HuaweiPhone;
import com.xiaolin.designmode.factory.bean.Phone;

/**
 * @ClassName HuaweiAbstractFactory
 * @Description TODO
 * @Detail detail
 * @Author MyPC
 * @Date 2020/10/29
 * @Version 1.0
 */
public class HuaweiAbstractFactory implements AbstractFactory {
    @Override
    public Phone productPhone() {
        return new HuaweiPhone();
    }

    @Override
    public Computer productComputer() {
        return new HuaweiComputer();
    }
}
